import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:mybase/base/tool/color/FFColor.dart';

///主题类
class MyuisTheme {
  Color? mainColor;
  Color? textMainColor;

  MyuisTheme({
    this.mainColor,
    this.textMainColor,
  });

  ///主色调
  Color getMainColor() {
    return mainColor ?? rgba(63, 109, 250, 1.0);
  }

  ///主文本颜色
  Color getTextMainColor() {
    return textMainColor ?? rgba(245, 247, 250, 1);
  }
}
